package com.qf.shop.car.feign;

import com.qf.shop.common.vo.GoodsVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "shop-goods", path = "/goods")
public interface GoodsService {

    @GetMapping("/getGoodsVoById/{id}")
    public GoodsVo getGoodsVoById(@PathVariable("id") Integer id);
}
